package com.owulia.coffee.repository.mysql;

import com.owulia.coffee.commons.base.BaseRepository;
import com.owulia.coffee.entity.mysql.Order;

import java.util.List;


public interface OrderRepository extends BaseRepository<Order, Long> {
    List<Order> findByCustomerOrderById(String customer);

    /**
     * 查找内部数组使用单个单词命名
     * @param name
     * @return
     */
    List<Order> findByItems_Name(String name);
}
